package book;

import book.Ltr_book;
import book.Science_book;

public class Main //20230404430920沈泽华
{
    public static void main(String[] args) {
        Science_book scb = new Science_book(200, 0.7);
        scb.show_kind();
        scb.setPrice(scb.getPrice(200,0.7));
        scb.showPrice();

        Ltr_book ltb = new Ltr_book(100, 0.5);
        ltb.show_kind();
        ltb.setPrice(ltb.getPrice(100, 0.5));
        ltb.showPrice();
    }
}